import { isRef, Ref } from 'vue';

export function $<T>(params: Ref<T>) {
  if (isRef(params)) return params.value;
  return params;
}
